Removed optional fields

- removed all optional fields
- added failure routine to initial JSON HTTP request