parse the wacko postgresql json to bare return