In fact this is the same logic that has been done on line 121. I think a method that gets `$taxonomies` that returns   ```php  array_map( array( $this, 'map_taxonomies_for_js' ), $taxonomies );  ```    will be awesome 