JSON objects

needed to convert structures to JSON objects