support .json format for new/create actions.