Web API: fix sensors values serialization