Added optional constructor to HalResourceSerializer to allow forcing of all links to arrays instead of being either objects or arrays.