cleans up customer json