Added some JSON-compatibility for server
Added some JSON-compatibility for client
Test

test