Add :format and :keep_original options to :asset_hash. Closes #1257