On elsewhere public.json

I'm going to wait on #2133 to be reviewed before writing the unit tests for this.

This resolves issue #642 

- [x] Write unit tests