Changes caused by updated Hydra serializtion logic for JSON

Moved JObject initialization to the declaration of requestDoc