Convert empty route_ids and route_types to nulls

This fixes the problem where 500 errors are returned while
posting some indicator results.