adding alternative for PrimitiveLongConverter and PrimitiveShortConverter

Closes #810