some json related stuff & tests