DSL should accept options in to_json