Fix referencing extended resource when posting non-extended resource (used to send invalid _type in json).