Use a sorted json method to produce a service json instead of an erb. Closes #45.