added PATCH command
reformatting json changed null into an empty string