Returns JSON from creating list