remove undesired attrs from rendered json