added json endpoint to peer
Merge branch 'master' of https://github.com/jbooth/maggiefs