optimized "/studyinfo" code (JSON output)

only the strictly necessary/used fields are serialized.
reduced time of the  _JSON_serialization_phase_ by 3 times (not overall
time), and JSON size by at least 3 times.
Merge remote-tracking branch 'origin/master'