Catch JSON parse exception on app create

Fixes #895.
Fixes the 500 response in #887, not the actual JSON format change complains.