Added missing line break and semi-colon.
Added JSON pritifying to client.