To handle json PATCH request