extend_spec
allow adding "persistent params" to json API