Update SmartServer

Parsing JSON on PUT requests.