Added the public attribute to the service_plans API response

We need the service plan API to return the visibility (whether it is public or not) in the response for a component we are writing.
This change adds the 'public' attribute to the response, and returns true or false accordingly