Invalid JSON handling

Providing an invalid JSON resulted in an internal server error. The expected behavior is returning an error. This was fixed and the API returns "You have an error in your JSON format" in the message field.

Changelog

  • fixed: Invalid JSON error handling
  • fixed: Domain feeds returned an error at 1024 kByte when downloading with nameservers