python json parser correction for empty users