diff --git a/features.export.inc b/features.export.inc
index 7443503..2a186be 100644
--- a/features.export.inc
+++ b/features.export.inc
@@ -466,6 +466,9 @@ function features_tar_create($name, $contents) {
 function features_var_export($var, $prefix = '', $init = TRUE) {
   if (is_object($var)) {
     $output = method_exists($var, 'export') ? $var->export() : features_var_export((array) $var, '', FALSE);
+    if ($output{0} == '{') {
+      $output = '(object) ' . var_export(drupal_json_decode($output), TRUE);
+    }
   }
   else if (is_array($var)) {
     if (empty($var)) {
