Normalize remaining_capacity
Change json of bin