Parse objects correctly