Omit parent_id when null, refactoring as well

Also, drop extraneous comment about what 'fields=*' means