Lots of small changes - JPA for-loops work again! The metrics endpoint's much improved.