First steps of JSON replies implemented