JSON Encode Rollback

Fixing my mistake