Added json representation
Merge pull request #34 from openplanets/json

Added json representation