properly parse json in create_asset handler