Changed id to slug in pages serializer