convert properties to_json