Any reason to not use json_encode()?