remove fields with blank keys
fix quote breakage