REST resource fixes.
    Updated customizable instance to return appropriate instance type representation.
    Updated the instance attribute resource to properly calculate the attribute value.