Fixed error dump creation

It seems to be a problem when attribute fields (pure json) are initialized in an objects.create statement.