json view for GET service request.
add endpoint to get config
fix test