CLOUDIFY-1867 move json deserialization to python code