JSON works correctly now