Handle title array with three items as a special case

This is an attempt to prevent the duplicated parts in JVM metric names mentioned in #39.

It's a pretty naïve change for the case where the title doesn't contain three things but it should at least keep everyone's metrics working as they currently do.