json trick info formatting functional