make the API treat empty fields the same as missing fields to avoid confusion

The API was expecting empty fields to be omitted (no startField/endField). I'm making it so that empty fields and missing fields are treated the same. Previously writing an startField/endField would create issues down the line.