I think the idea is we should have pilo dump a json schema form or generate itself from a schema