return null if json is emptry