valid json for shapes